﻿@model shop.DanhMuc

@{
    ViewBag.Title = "Thêm Danh Mục";
}
@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)
        <div class="editor-label">
           Tên Danh mục
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.DanhMuc1)
            @Html.ValidationMessageFor(model => model.DanhMuc1)
        </div>

        <div class="editor-label">
          Mã Danh Mục
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.MaDM)
            @Html.ValidationMessageFor(model => model.MaDM)
        </div>

    <div class="editor-label">
        Cha
    </div>
    <div class="editor-field">
            @Html.(model => model.Cha)
            @Html.ValidationMessageFor(model => model.MaDM)
        </div>
        <p>
            <input type="submit" value="Thêm" />
        </p>

}

